<?php

if(!$_SESSION['user']['username']){
	//redirect(BASE_URL);
}

switch($_GET['opt']){

case "common":
require("controllers/manage/manga/manga.php");
break;	
case "upload":
require("controllers/manage/manga/upload.php");
break;
case "upload_fix":
require("controllers/manage/manga/upload_fix.php");
break;		
case "ajax":
require("controllers/manage/manga/ajax.php");
break;
case "scan":
require("controllers/manage/manga/scan.php");
break;
case "scan2":
require("controllers/manage/manga/scan.php");
break;
case "history":
require("controllers/manage/manga/history.php");
break;
}

switch($_POST['opt']){
case "ajax":
require("controllers/manage/manga/ajax.php");
break;	
case "getlink":
require("controllers/manage/manga/getlink.php");
break;	
case "scan_ajax":
require("controllers/manage/manga/scan_ajax.php");
break;	
case "download":
require("controllers/manage/manga/download.php");
break;	
}

